// import { N_BehavStus } from "./behavior_const.ts";
/// <reference path="./behavior_const.ts" />
namespace B {
    export abstract class N_BehavBase {
        private p_parent: N_BehavBase;
        protected p_status: N_BehavStus;
        protected p_force:boolean;
        protected p_name:string;

        constructor(name: string) {
            this.p_parent = null;
            this.p_status = N_BehavStus.Ready;
            this.p_force = false;
            this.p_name = name;
        }

        public get status(): N_BehavStus {
            return this.p_status;
        }

        public get force(): boolean {
            return this.p_force;
        }
        public get name(): string {
            return this.p_name;
        }

        public setParent(value: N_BehavBase) {
            this.p_parent = value;
        }

        public execute(tree:Nbeha){

        }
    }

}